/*
 * @Author: xuyunke xyk18697347312@163.com
 * @Date: 2024-11-13 15:09:09
 * @LastEditors: xuyunke xyk18697347312@163.com
 * @LastEditTime: 2024-11-21 16:14:47
 * @FilePath: \ruoyi\RuoYi-GW-Vue\src\api\monitor\server.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 获取服务信息
export function getServer() {
  return request({
    url: '/monitor/server',
    method: 'get'
  })
}
export function getServerRecord(query) {
  return request({
    url: '/monitor/server/record/list',
    method: 'get',
    params: query
  })
}
